package org.jeecg.modules.equipment.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 配件设备表
 * @Author: jeecg-boot
 * @Date:   2022-07-26
 * @Version: V1.0
 */
@Data
@TableName("mt_equip")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mt_equip对象", description="配件设备表")
public class MtEquip implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private String name;
	/**编号*/
	@Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
    private String serialNo;
	/**货号*/
	@Excel(name = "货号", width = 15)
    @ApiModelProperty(value = "货号")
    private String artNo;
	/**产品型号*/
	@Excel(name = "产品型号", width = 15)
    @ApiModelProperty(value = "产品型号")
    private String proModel;
	/**产品重量*/
	@Excel(name = "产品重量", width = 15)
    @ApiModelProperty(value = "产品重量")
    private BigDecimal proWeight;
	/**产地*/
	@Excel(name = "产地", width = 15)
    @ApiModelProperty(value = "产地")
    private String producArea;
	/**产品尺寸*/
	@Excel(name = "产品尺寸", width = 15)
    @ApiModelProperty(value = "产品尺寸")
    private String proSize;
	/**用途*/
	@Excel(name = "用途", width = 15)
    @ApiModelProperty(value = "用途")
    private String useContent;
	/**进货价*/
	@Excel(name = "进货价", width = 15)
    @ApiModelProperty(value = "进货价")
    private BigDecimal purchaseCost;
	/**出货价*/
	@Excel(name = "出货价", width = 15)
    @ApiModelProperty(value = "出货价")
    private BigDecimal unitCost;
	/**所属分类*/
	@Excel(name = "所属分类", width = 15, dictTable = "mt_equip_type", dicText = "name", dicCode = "id")
	@Dict(dictTable = "mt_equip_type", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "所属分类")
    private String equipTypeId;
    /**质保期*/
    @Excel(name = "质保期", width = 15)
    @ApiModelProperty(value = "质保期")
    private java.lang.Integer qualityPeriod;
    /**是否管理库存**/
    @Excel(name = "库存管理", width = 15, dicCode = "is_stock")
    @Dict(dicCode = "is_stock")
    @ApiModelProperty(value = "库存管理")
    private Integer isStock;
    /**库存上限*/
    @Excel(name = "库存上限", width = 15)
    @ApiModelProperty(value = "库存上限")
    private java.lang.Integer upperLimit;
    /**库存下限*/
    @Excel(name = "库存下限", width = 15)
    @ApiModelProperty(value = "库存下限")
    private java.lang.Integer lowerLimit;
    /**设备图片*/
    @ApiModelProperty(value = "设备图片")
    private String imageUri;

}
